-- GENERATED SPELL FOR [Shadowclaw] --


function spell0_2175(pUnit, Event) --@Curse of Weakness,n/a--
pUnit:FullCastSpellOnTarget(17227,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2175', 590, 1)
end

function Sorts_2175(pUnit, Event)
local choix_sorts_2175 = math.random(0, 0)
if choix_sorts_2175 == 0 then
pUnit:RegisterEvent('spell0_2175', 1, 1)
end
end

function mob2175_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2175', math.random(1500, 3000), 1)
end

function mob2175_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2175_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2175_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2175, 1, 'mob2175_Action')
RegisterUnitEvent(2175, 2, 'mob2175_Leave')
RegisterUnitEvent(2175, 3, 'mob2175_Kill')
RegisterUnitEvent(2175, 4, 'mob2175_Die')
